package com.xueyi.operations.domain.po;

import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.operations.domain.dto.OpManufacturerTypeDto;
import com.xueyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.STATUS;
import static com.xueyi.common.core.constant.basic.EntityConstants.SORT;
import static com.xueyi.common.core.constant.basic.EntityConstants.REMARK;
import static com.xueyi.common.core.constant.basic.EntityConstants.NAME;

/**
 * 资产分类 持久化对象
 *
 * @author xueyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "op_manufacturer_type", excludeProperty = { STATUS, SORT, REMARK, NAME })
public class OpManufacturerTypePo extends TBaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /** 父类型ID */
    @Excel(name = "父类型ID")
    protected Long parentId;

    /** 树层级 */
    @Excel(name = "树层级")
    protected Integer level;

    /** 分类名称 */
    @Excel(name = "分类名称")
    protected String typeName;

}